
PRGOBJS = \
        mtqshm.o mtqqueue.o mtqconnect.o mtqpack.o mtqapi.o mtqapi_th.o mtqlock.o mtqcommon.o \
        mtqinit.o mtqconfig.o mtqhash.o mtqLog.o mtqUdp.o mtqConvert.o mtqsha.o mtqconfigchk.o \
        mtqhead.o mtqsvcopt.o mtqsvcapi.o mtqsvcpub.o mtqmgmpub.o mtqmsyncpub.o
        
PRGLIBS =  -lpthread -lmapsxml

PRGTARG = mtqapi_th

PRGDEFS = -D_LINUXES_ -DIMQ_PTHREAD -D_THREAD_SAFE -DLOCAL_LOG -qthreaded

EXT_INCP = -I$(MTQ_DIR)/include -I$(MTQ_DIR)/include/internal

#PRGDBNM = $(DB_ONLNAME) user $(DB_ONLUSER) using $(DB_ONLPW)

debug all: debugdynamic
release: releasedynamic

# DO NOT modify any code below!!!

releasedynamic debugdynamic releasestatic debugstatic releaseexec debugexec clean: 
	@make -f $(MKHOME)/mak/mkstand.mak $@ TARGET="$(PRGTARG)" OBJS="$(PRGOBJS)" LIBS="$(PRGLIBS)" DEFS="$(PRGDEFS)" DBNM="$(PRGDBNM)"  EXT_INCP="$(EXT_INCP)"

